﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassLibrary.Entity
{
    public class TblBookingDetail
    {     
        public int IdBookingDetail
        {
            get { return _IDBookingDetail; }
            set { _IDBookingDetail = value; }
        }

        public int IdOrder
        {
            get { return _IDOrder; }
            set { _IDOrder = value; }
        }

        public int ProductId
        {
            get { return _ProductID; }
            set { _ProductID = value; }
        }

        public int Quantity
        {
            get { return _Quantity; }
            set { _Quantity = value; }
        }

        public decimal UnitPrice
        {
            get { return _UnitPrice; }
            set { _UnitPrice = value; }
        }

        public decimal ExtendPrice
        {
            get { return _ExtendPrice; }
            set { _ExtendPrice = value; }
        }

        public int Discount
        {
            get { return _Discount; }
            set { _Discount = value; }
        }

        private int _IDBookingDetail;
        private int _IDOrder;
        private int _ProductID;
        private int _Quantity;
        private decimal _UnitPrice;
        private decimal _ExtendPrice;

        private int _Discount;

        TblProducts _Items;
        public TblProducts Items
        {
            get { return _Items; }
            set { _Items = value; }
        }

        private decimal _ToatalAmount;

        public decimal ToatalAmount
        {
            get { return _ToatalAmount; }
            set { _ToatalAmount = value; }
        }


        private string _ProductName;

        public string ProductName
        {
            get { return _ProductName; }
            set { _ProductName = value; }
        }
    }
}
